#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
 void init(int arr2[], int sz)
{
	  int i;
	  for (i = 0; i < sz; i++)
	  {
	 	 arr2[i] = 0;
	  }
}
 void print(int arr2[], int sz)
 {
	 int i;
	 for (i = 0; i < 10; i++)
	 {
		 printf("%d ", arr2[i]);
	 }

 }
 void reverese(int arr2[],int sz)
 {
	 int i;
	 int temp=0;
	 for (i = 0; i < sz/2; i++)
	 {
		 temp = arr2[sz - i-1];
		 arr2[sz-i-1] = arr2[i];
		 arr2[i] = temp;

	 }

 }
main()
{	
	int sz;
	 int arr1[10] = {1,2,3,4,5,6,7,8,9,10};
	 sz = (sizeof(arr1) / sizeof(arr1[0]));
	init(arr1,sz);
	print(arr1, sz);
	for (int i = 0; i < sz; i++)
	{
		arr1[i] = i+1;
	}


	reverese(arr1, sz);
}